package pl.perseus.action;

import lombok.Getter;
import lombok.Setter;

import org.apache.log4j.Logger;
import org.apache.log4j.Priority;
import org.springframework.security.core.context.SecurityContext;

import pl.perseus.model.User;

public class HomeAction extends BaseAction {

	@Getter
	@Setter
	private User user;
	
	@Override
	public String execute() {
		Logger.getLogger(HomeAction.class).log(Priority.INFO, "************************************* : 1");
		Logger.getLogger(HomeAction.class).log(Priority.INFO, user.getLogin()+" , "+user.getUsername());
		Logger.getLogger(HomeAction.class).log(Priority.INFO, "************************************* : 2");
		return NONE;
	}

}
